package cn.edu.xmu.oomall.customer.model.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
/**
 * @author Jiahzhe Yuan
 * @date 2021-12-14 12:27:01
 */
public class SimpleCartItemVo {
    @NotNull(message = "货品id不能为空")
    private Long productId;
    private Long quantity;
}
